<%= javascript_include_tag "mytable.js" %>
<%= stylesheet_link_tag 'mytable'%>
<h1>双选详细情况</h1>
<table>
  <thead>
    <th>学生</th>
    <th>导师</th>
    <th>学生态度</th>
    <th>导师态度</th>
  </thead>
  <tbody>
    <% for detail in @details %>
      <tr>
        <td><%= h(detail.sname) %></td>
        <td><%= h(detail.tname) %></td>
        <td><%= h(detail.stu_status) %></td>
        <td><%= h(detail.tea_status) %></td>
      </tr>
    <% end %>
  </tbody>
</table>